using System;
using System.Data;
using PCSComUtils.MasterSetup.DS;
using PCSComUtils.PCSExc;
using PCSComSale.Order.DS;

namespace PCSComSale.Order.BO
{
	public class SOConfirmPacklistBO //: ISOConfirmPacklistBO
	{
		private const string THIS = "PCSComSale.Order.BO.SOConfirmPacklistBO";
		public SOConfirmPacklistBO()
		{
			//
			// TODO: Add constructor logic here
			//
		}


	
		public void Add(object pObjectDetail)
		{
			// TODO:  Add SOConfirmPacklistBO.Add implementation

		}
	
		public void Delete(object pObjectVO)
		{
			// TODO:  Add SOConfirmPacklistBO.Delete implementation

		}
	
		public object GetObjectVO(int pintID, string VOclass)
		{
			// TODO:  Add SOConfirmPacklistBO.GetObjectVO implementation
			return null;
		}
	
		public void Update(object pObjectDetail)
		{
			// TODO:  Add SOConfirmPacklistBO.Update implementation

		}
	
		public void UpdateDataSet(DataSet dstData)
		{
			// TODO:  Add SOConfirmPacklistBO.UpdateDataSet implementation

		}

		//**************************************************************************              
		///    <Description>
		///       Get all Employee
		///    </Description>
		///    <Inputs>
		///    </Inputs>
		///    <Outputs>
		///    </Outputs>
		///    <Returns>
		///       DataSet
		///    </Returns>
		///    <Authors>
		///       TuanDm
		///    </Authors>
		///    <History>
		///       Thursday, February 17, 2005
		///    </History>
		///    <Notes>
		///    </Notes>
		//**************************************************************************
		//[AutoComplete(true)]
		public DataSet ListEmployee()
		{
			try
			{
				MST_EmployeeDS dsEmployee = new MST_EmployeeDS();
				return dsEmployee.List();
			}
			catch (PCSDBException ex)
			{
				throw ex;
			}
			catch (Exception ex)
			{
				throw ex;
			}
		}

		//**************************************************************************              
		///    <Description>
		///       Get all Carrier
		///    </Description>
		///    <Inputs>
		///    </Inputs>
		///    <Outputs>
		///    </Outputs>
		///    <Returns>
		///       DataSet
		///    </Returns>
		///    <Authors>
		///       TuanDm
		///    </Authors>
		///    <History>
		///       Thursday, February 17, 2005
		///    </History>
		///    <Notes>
		///    </Notes>
		//**************************************************************************
		//[AutoComplete(true)]
		public DataSet ListCarrier()
		{
			try
			{
				MST_CarrierDS dsCarrier = new MST_CarrierDS();
				return dsCarrier.List();
			}
			catch (PCSDBException ex)
			{
				throw ex;
			}
			catch (Exception ex)
			{
				throw ex;
			}
		}

		//**************************************************************************              
		///    <Description>
		///       Get all Measure
		///    </Description>
		///    <Inputs>
		///    </Inputs>
		///    <Outputs>
		///    </Outputs>
		///    <Returns>
		///       DataSet
		///    </Returns>
		///    <Authors>
		///       TuanDm
		///    </Authors>
		///    <History>
		///       Thursday, February 17, 2005
		///    </History>
		///    <Notes>
		///    </Notes>
		//**************************************************************************
		//[AutoComplete(true)]
		public DataSet ListUnitOfMeasure()
		{
			try
			{
				MST_UnitOfMeasureDS dsUnitOfMeasure = new MST_UnitOfMeasureDS();
				return dsUnitOfMeasure.List();
			}
			catch (PCSDBException ex)
			{
				throw ex;
			}
			catch (Exception ex)
			{
				throw ex;
			}
		}

		//**************************************************************************              
		///    <Description>
		///       Get object PackListMaster
		///    </Description>
		///    <Inputs>
		///    </Inputs>
		///    <Outputs>
		///    </Outputs>
		///    <Returns>
		///       SO_PackListMasterVO
		///    </Returns>
		///    <Authors>
		///       TuanDm
		///    </Authors>
		///    <History>
		///       Thursday, February 17, 2005
		///    </History>
		///    <Notes>
		///    </Notes>
		//**************************************************************************
		//[AutoComplete(true)]
		public object GetObjectPackListMaster(string pstrPackListNo)
		{
			try
			{
				SO_PackListMasterDS dsPackListMaster = new SO_PackListMasterDS();
				return dsPackListMaster.GetObjectVO(pstrPackListNo);
			}
			catch (PCSDBException ex)
			{
				throw ex;
			}
			catch (Exception ex)
			{
				throw ex;
			}
		}

		//**************************************************************************              
		///    <Description>
		///       Get object PackListMaster
		///    </Description>
		///    <Inputs>
		///    </Inputs>
		///    <Outputs>
		///    </Outputs>
		///    <Returns>
		///       SO_PackListMasterVO
		///    </Returns>
		///    <Authors>
		///       TuanDm
		///    </Authors>
		///    <History>
		///       Thursday, February 17, 2005
		///    </History>
		///    <Notes>
		///    </Notes>
		//**************************************************************************
		//[AutoComplete(true)]
		public void UpdatePackListMaster(object pobjObject)
		{
			try
			{
				SO_PackListMasterDS dsPackListMaster = new SO_PackListMasterDS();
				dsPackListMaster.Update(pobjObject);
			}
			catch (PCSDBException ex)
			{
				throw ex;
			}
			catch (Exception ex)
			{
				throw ex;
			}
		}
	}
}
